<template>
    <div class="top">
        <div class="logo">
        </div>
        <Dropdown @on-click="handleRoute">
            <a href="javascript:void(0);">
                POI
                <Icon type="ios-arrow-down"></Icon>
            </a>
            <DropdownMenu slot="list">
                <DropdownItem name="create-poi">创建POI群组</DropdownItem>
                <DropdownItem name="generate-poi-auto">基于LBS创建</DropdownItem>
            </DropdownMenu>
        </Dropdown>
        <Dropdown @on-click="handleRoute">
            <a href="javascript:void(0);">
                路径
                <Icon type="ios-arrow-down"></Icon>
            </a>
            <DropdownMenu slot="list">
                <DropdownItem name="create-path">手动创建一组路径</DropdownItem>
                <DropdownItem name="create-route">依据车辆路径创建</DropdownItem>
                <DropdownItem name="create-way">依据步行导航创建</DropdownItem>
            </DropdownMenu>
        </Dropdown>
        <Dropdown @on-click="handleRoute">
            <a href="javascript:void(0);">
                区域
                <Icon type="ios-arrow-down"></Icon>
            </a>
            <DropdownMenu slot="list">
                <DropdownItem name="create-range">创建带有中心点的轮廓</DropdownItem>
            </DropdownMenu>
        </Dropdown>
        <Dropdown @on-click="handleRoute">
            <a href="javascript:void(0);">
                场特效
                <Icon type="ios-arrow-down"></Icon>
            </a>
            <DropdownMenu slot="list">
                <DropdownItem name="create-effect">创建场特效</DropdownItem>
            </DropdownMenu>
        </Dropdown>
        <Dropdown @on-click="handleRoute">
            <a href="javascript:void(0);">
                热力
                <Icon type="ios-arrow-down"></Icon>
            </a>
            <DropdownMenu slot="list">
                <DropdownItem name="create-heatmap">创建区域热力图</DropdownItem>
                <DropdownItem name="create-route">创建路径热力图</DropdownItem>
            </DropdownMenu>
        </Dropdown>
        <Dropdown @on-click="handleRoute">
            <a href="javascript:void(0);">
                视域
                <Icon type="ios-arrow-down"></Icon>
            </a>
            <DropdownMenu slot="list">
                <DropdownItem name="create-path">创建扇形视域</DropdownItem>
            </DropdownMenu>
        </Dropdown>
        <Divider type="vertical"></Divider>
        <Dropdown @on-click="handleRoute">
            <a href="javascript:void(0);">
                工具
                <Icon type="ios-arrow-down"></Icon>
            </a>
            <DropdownMenu slot="list">
                <DropdownItem name="data-convert">Excel/JSON数据转换</DropdownItem>
                <DropdownItem name="create-path">长度面积测量</DropdownItem>
                <DropdownItem name="create-path">点天气预报</DropdownItem>
            </DropdownMenu>
        </Dropdown>
    </div>
</template>

<script>
    export default {
        name: '',
        data() {
            return {
                
            }
        },
        methods:{
            handleRoute(path){
                this.$router.push('/'+path);
            },
            exportJSON() {

            }
        }
    }
</script>

<style lang="" scoped>
    
</style>